package commons.exception;

import network.daemon.Daemon;

public class NotRunningException extends Exception {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 6820409770188207116L;
	private Daemon				notRunningDaemon;

	public NotRunningException() {
	}

	public NotRunningException(final String message) {
		super(message);
	}

	public NotRunningException(final String message, final Daemon daemon) {
		super(message);
		this.notRunningDaemon = daemon;
	}

	public NotRunningException(final String message, final Throwable cause) {
		super(message, cause);
	}

	public NotRunningException(final Throwable cause) {
		super(cause);
	}

	public Daemon getNotRunningDaemon() {
		return notRunningDaemon;
	}
}
